/*
 * @Description: 请填写简介
 * @Author: error: git config user.name & please set dead value or install git
 * @Date: 2022-05-30 17:54:33
 * @LastEditors: error: git config user.name & please set dead value or install git
 * @LastEditTime: 2022-05-30 18:08:34
 * 
 */
import service from "./axios";

export const getList = (url, params) => {
  return service({
    method: 'get',   //请求方法包含（get,post,delete,put）等
    url: url, //请求路径
    params: params //当method为get时的传参方式
  })
  
}
export const postList = (url, params) => {
  return service({
    method: 'post',   //请求方法包含（get,post,delete,put）等
    url: url, //请求路径
    data: params //当method为get时的传参方式
  })
  
}